﻿$(document).ready(function(){
    $('#foot').load('/foot.htm');
   
})


function loadalert(msg) {

    $("#processbar").html("<span class='size12' style=' background: #FF6F6F;color:#FFFFFF; margin-left:20px;'>" + msg + "</span>");
}
function searchinit() {
    //搜索框加载

    $("#searchinput").css({ "font-size": "12px", "color": "Gray", "font-weight": "normal" });
    $("#searchinput").value = "成员、组群、活动、分享";
}
function searchblur() {

    if ($("#searchinput").attr("value") == "") {
        $("#searchinput")[0].value = "成员、组群、活动、分享";
        $("#searchinput").css({ "font-size": "12px", "color": "Gray", "font-weight": "normal" });
    }
}

function removequote() {

    if ($("#searchinput")[0].value == "成员、组群、活动、分享") {
        $("#searchinput")[0].value = "";
        $("#searchinput").css({ "font-size": "14px", "color": "Black", "font-weight": "bold" });
    }

}

function showloading(msg) {
    $("#processbar").html("<span class='size12' style='background:url(/images/loading.gif) no-repeat'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + msg + "</span>");
}
function removeLoading() {
    $("#processbar").html("&nbsp;&nbsp;");
}


